---
title: File creation / mailing
summary: Build legal case evaluations and set file-create/mail dates.
status: draft
owner: SAIF Documentation Generator
last_reviewed: 2026-08-26
library: SAIF.Business.Claim.Legal
reference_type: embedded
operation_id: file-creation-mailing
trigger: A caller invokes UpdateCreateFile(inDPI, mailedDate)
---

# File creation / mailing

Builds legal case evaluation (LCE) records for selected legal cases and stamps the file-create/mailed
date used to track the file-creation deadline.

| Field | Value |
| --- | --- |
| **Operation ID** | file-creation-mailing |
| **Trigger** | `UpdateCreateFile(inDPI, mailedDate)` call |
| **Inputs** | Selected case IDs, mailed date |
| **Outputs** | LCE records, file-create date |
| **Primary components** | `clsCreateFile.UpdateCreateFile` |
| **Entry point** | `SAIF.Business.Claim.Legal\LegalNet\clsCreateFile.vb` |

## Steps

1. Caller supplies the mailed date and the set of cases to process.
2. `UpdateCreateFile(inDPI, mailedDate)` builds an LCE record per case and computes the file-create due
   date ([BR-CF-001](../business-rules.md#br-cf-001-file-create-evaluations-are-due-%2B15-days%2C-or-%2B18-working)).
3. The mailed date is stamped on the case's file-creation tracking fields.

## Process flow

```mermaid
flowchart TD
	Start(["UpdateCreateFile<br>called"]) --> Build["Build LCE record<br>per case"]
	Build --> Due["Compute file-create<br>due date"]
	Due --> Stamp["Stamp mailed date"]
	Stamp --> EndOk(["File creation<br>complete"])
```

## Failure and edge-case behavior
- No exceptional behavior beyond standard save/insert failure handling was identified for this
  operation.*

## Related documentation
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts.

## Sources
- `SAIF.Business.Claim.Legal\LegalNet\clsCreateFile.vb`
